package com.engine4cloud.tdf.supervision.dto.query;

import com.engine4cloud.tdf.common.data.web.response.Params;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 实地查访
 *
 * @author wenjie
 * @date 2024-05-30 12:02:59
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "实地查访-请求对象")
public class RcglInvestigateQueryDTO extends Params {
    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 矫正人员编号
     */
    @Schema(description = "矫正人员编号")
    @NotBlank(message = "矫正人员编号不能为空")
    private String rybh;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    private LocalDateTime endTime;
}